<?php
defined( '_JEXEC' ) or die( 'Restricted access' );

jimport( 'joomla.application.component.view' );

class pqcesViewCategorias extends JView
{
	function display($tpl = null)
	{

		JToolBarHelper::title( JText::_('COM_PQCE_CATLIST'), 'generic.png' );
		JToolBarHelper::addNewX('addCategory',JText::_('COM_PQCE_NEWCAT'));
		
		$model = $this->getModel('categorias');
		$ctgrias	=& $model->getData();
		JToolBarHelper::title(   JText::_('COM_PQCE_CATS').':  <small><small>[ '.JText::_('COM_PQCE_EDIT').' ]</small></small>' );
		JToolBarHelper::editListX('editCategory',JText::_('COM_PQCE_EDIT'));
		JToolBarHelper::deleteList();
		JToolBarHelper::cancel('cancel',JText::_('COM_PQCE_BACK'));

		$this->assignRef('ctgrias',		$ctgrias);

		parent::display($tpl);
	}
}
